﻿using System.Threading.Tasks;
using S1.Models;

namespace S1._1_2.Apis
{
    public class ProductApi : HttpApiBase
    {
        public async Task AddNewProductAsync(Product product)
        {
            var content = Content(product);

            var result = await PostAsync("/api/products", content);
        }
    }
}
